<template>
  <div class="table-container">
    <el-table :data="tableData" border style="width: 100%">
      <el-table-column prop="deptName" label="部门" min-width="80"  align="center"></el-table-column>
      <el-table-column prop="carType" label="车辆类型" min-width="80"  align="center"></el-table-column>
      <el-table-column prop="num" label="车辆数量" min-width="80"  align="center"></el-table-column>
      <el-table-column prop="carNo" label="车牌号" min-width="80"  align="center"></el-table-column>
      <el-table-column prop="rongji" label="容量（升）" min-width="80"  align="center"></el-table-column>
      <el-table-column prop="changdu" label="长度（米）" min-width="80"  align="center"></el-table-column>
      <el-table-column prop="kuandu" label="宽度（米）" min-width="80"  align="center"></el-table-column>
      <el-table-column prop="gaodu" label="高度（米）" min-width="80"  align="center"></el-table-column>
      <el-table-column prop="chassisNumber" label="底盘号" min-width="80"  align="center"></el-table-column>
      <el-table-column prop="manufacturer" label="制造厂家" min-width="80"  align="center"></el-table-column>
      <el-table-column prop="productionDate" label="出厂日期" min-width="80"  align="center"></el-table-column>
      <el-table-column prop="usedYears" label="已使用年限" min-width="80"  align="center"></el-table-column>
    </el-table>
  </div>
</template>

<script>
export default {
  name: "equipmentTable",
  props: {
    tableData: {
      type: Array,
      default: () => [],
    },
  },
};
</script>

<style lang="scss" scoped></style>
